Skip to main content

Cadence

Contract Addresses

Addresses for the deployed smart contracts imported in the examples below.

NetworkUFC_NFTNonFungibleTokenMetadataViews
Testnet0x04625c28593d94080x631e88ae7f1d7c200x631e88ae7f1d7c20
Mainnet0x329feb3ab062d2890x1d7e57aa558174480x1d7e57aa55817448
note

The contract for UFC_NFT on Testnet is named ufcInt_NFT.

Scripts

A script is a very simple transaction type in Cadence that can only read the state of an account or contract. It is useful for querying the metadata about an NFT, a collection or a set. The following guide provide example scripts for interacting with the blockchain for UFC Strike data. Contracts and transactions for UFC Strike can be found on GitHub.

Examples